package com.subsequent.mapper;

import com.subsequent.dto.ConsultationsQueryDTO;
import com.subsequent.pojo.Consultations;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsequent.vo.ConsultationsVO;

import java.util.List;

/**
* @author 不.凌
* @description 针对表【consultations(在线问诊表)】的数据库操作Mapper
* @createDate 2025-05-08 11:50:08
* @Entity com.subsequent.pojo.Consultations
*/
public interface ConsultationsMapper extends BaseMapper<Consultations> {
    /**
     * 获取问诊列表
     * @param consultationsQueryDTO
     * @return
     */
    List<ConsultationsVO> getConsultationsList(ConsultationsQueryDTO consultationsQueryDTO);

    /**
     * 根据问诊id获取问诊详情
     * @param consultationId
     * @return
     */
    List<ConsultationsVO> getByConsultations(Integer consultationId);

    /**
     * 退费
     * @param consultationsVO
     * @return
     */
    int updateFeeInt(ConsultationsVO consultationsVO);
}




